<html>

<head><title>Login Success</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
    <form action="/file/fileUpload" method="post" enctype="multipart/form-data">
        选择文件:<input type="file" name="upload"> <br>
        <input type="submit" value="提交">
    </form>
    <input type="button" value="上传"  onclick="upload()" />
    <input type="file" id="file1" />
    <input type="button" value="下载"  onclick="download()" />
</body>
</html> 
<script type="text/javascript">
    function upload(){

    }
</script>